package com.hs.li.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 汽车管理
 * </p>
 *
 * @author lhj
 * @since 2022-06-13
 */
@Getter
@Setter
@TableName("t_car_management")
public class CarManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车辆id
     */
    @TableId(value = "car_id", type = IdType.AUTO)
    private Integer carId;

    /**
     * 承运商编号
     */
    @TableField("carrier_number")
    private Integer carrierNumber;

    /**
     * 车辆编号
     */
    @TableField("car_number")
    private Integer carNumber;

    /**
     * 车辆类型
     */
    @TableField("type_id")
    private Integer typeId;

    /**
     * 车牌号码
     */
    @TableField("car_plate")
    private String carPlate;

    /**
     * 准载重量(千克)
     */
    @TableField("car_weight")
    private Float carWeight;

    /**
     * 准载体积(方)
     */
    @TableField("car_volume")
    private Float carVolume;

    /**
     * 状态
     */
    @TableField("car_status")
    private Integer carStatus;

    /**
     * 逻辑删除字段
     */
    @TableLogic
    private Integer deleted;

    /**
     * 乐观锁版本字段
     */
    @Version
    @TableField("version")
    private Integer version;



}
